<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UploadPhoto.aspx.cs" Inherits="Impact.Web.Admin.UploadPhoto" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Impact Administration</title>
    <link rel="stylesheet" href="css/admin.css" type="text/css" />
    <script type="text/javascript" src="javascript/jquery.js"></script>
    <script type="text/javascript">
        $(function()
        {
            if( window.opener != null && window.opener.reload != null )
            {
                window.opener.reload();
            }
        });
    </script>
</head>
<body>
    <form id="form1" enctype="multipart/form-data" runat="server">
    
        <table class="AdminTable" style="width: 100%; margin: 0px;">
            <tr>
                <th>Upload</th>
            </tr>
            
            <tr>
                <td><asp:Label ID="message" ForeColor="Green" runat="server"></asp:Label></td>
            </tr>
            
            <tr>
                <td>Filename: <input id="uploadFile" type="file" runat="server" /></td>
            </tr>
        
            <tr>
                <td style="text-align: right;">
                    <impact:ImageLinkButton ID="submitButton" CssClass="AdminTableButton" runat="server"
                        ImageUrl="images/add.png" Text="Upload" OnCommand="UploadCommand" /></td>
            </tr>
            
        </table>
    
        <impact:MessageBox ID="messageBox" runat="server" />
    
    </form>
</body>
</html>
